Action hook 'set_site_transient_{$transient}'
in WP Core File wp-includes/option.php at line 2627
Description
Fires after the value for a specific site transient has been set. The dynamic portion of the hook name, `$transient`, refers to the transient name.
Occurrences
Filename |
Line Number |
wp-includes/option.php |
2627 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Site transient value. |
int |
$expiration |
Time until expiration in seconds. |
string |
$transient |
Transient name. |
PHP Doc
/**
* Fires after the value for a specific site transient has been set.
*
* The dynamic portion of the hook name, `$transient`, refers to the transient name.
*
* @since 3.0.0
* @since 4.4.0 The `$transient` parameter was added
*
* @param mixed $value Site transient value.
* @param int $expiration Time until expiration in seconds.
* @param string $transient Transient name.
*/